#pragma once
#include "afxwin.h"


// CDlgSearchRequest dialog

class CDlgSearchRequest : public CDialog
{
	DECLARE_DYNAMIC(CDlgSearchRequest)

public:
	CDlgSearchRequest(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDlgSearchRequest();

	virtual BOOL OnInitDialog();
	virtual void OnOK();
	afx_msg void OnBnClickedButtonClear();
	afx_msg void OnBnClickedButtonMore();

	BOOL SizeControls();
	CString ES(CString String);

// Dialog Data
	enum { IDD = IDD_DIALOG_SEARCH_REQUEST };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()

public:
	CStringArray *m_pszaLibrary;
	CStringArray *m_pszaStatus;

	BOOL m_bMore;

	CString m_szFilter;
	CString m_szName;
	CString m_szEmail;
	CString m_szLocation;
	CString m_szPhone;
	CString m_szFax;
	CString m_szInstructions;
	CString m_szCitation;
	CString m_szNotes;
	CString m_szRequestID;

	INT m_nStatus;
	INT m_nLibrary;
	CComboBox m_ctrlLibrary;
	CComboBox m_ctrlStatus;
	CDateTimeCtrl m_ctlDateFirst;
	CDateTimeCtrl m_ctlDateLast;	
	CString m_szLANID;
};
